package com.idheima.zuoye.zuoye5;

public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer();

        Mouse mouse = new Mouse();
        Keyboard keyboard = new Keyboard();


        computer.connet(mouse);
        computer.connet(keyboard);


        computer.disconnet(mouse);
        computer.disconnet(keyboard);


        computer.shutdown();


    }
}
